package com.rpc.annotation;

import com.rpc.server.provide.ServerProviderProcessor;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 开启RPC服务Spring自动装配
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import(ServerProviderProcessor.class)
public @interface EnablePrayServerRpc {

}
